﻿using System;
using System.Windows;
using System.Windows.Media;
using C1.Silverlight.Pdf;

namespace MyFloridaHouse.libSvOpenDistricts.PDF
{
    public class HouseMapLegendRow
    {
        internal C1PdfDocument pdf;
        public PDFString pdfString;

        public HouseMapLegendRow(C1PdfDocument pdf, string name)
        {
            this.pdf = pdf;
            this.pdfString = new PDFString(pdf, "Arial", 1, PdfFontStyle.Regular, Colors.Black, name, 0);

        }


        public void DrawName(Rect rect)
        {
            pdfString.Draw(new Rect(rect.X, rect.Y, rect.Width, rect.Height));

        }

        internal virtual void DrawSymbol(Rect rect)
        {
            throw new NotImplementedException();
        }
    }
}
